﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;
namespace LIMS.Entities
{
    [ActiveRecord(Lazy = true)]
    [Serializable]
    public class GroupPermissionLink : ActiveRecordBase
    {
        public GroupPermissionLink()
        {
        }

        #region Private

        private int id;
        private int groupId;
        private string permissionId;

        #endregion

        #region Public
        [PrimaryKey(PrimaryKeyType.Increment)]
        public virtual int Id
        {
            get { return id; }
            set { id = value; }
        }
        public virtual int GroupId
        {
            get { return groupId; }
            set { groupId = value; }
        }

        public virtual string PermissionId
        {
            get { return permissionId.Trim(); }
            set { permissionId = value; }
        }

        #endregion
    }
}
